﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Orchard.Data;
using Orchard.Entity;

namespace Orchard.Service
{
    public interface IWebLogsManager
    {
        Web_Logs Get(params object[] id);
        Web_Logs Get(System.Linq.Expressions.Expression<Func<Web_Logs, bool>> predicate);
        IEnumerable<Web_Logs> Fetch(System.Linq.Expressions.Expression<Func<Web_Logs, bool>> predicate);
        IEnumerable<Web_Logs> Fetch(System.Linq.Expressions.Expression<Func<Web_Logs, bool>> predicate, Action<Orderable<Web_Logs>> order);
        IEnumerable<Web_Logs> Fetch(System.Linq.Expressions.Expression<Func<Web_Logs, bool>> predicate, Action<Orderable<Web_Logs>> order, int skip, int count);
        void Update(Web_Logs entity);
    }
}
